import { defineComponent } from "vue";
import styles from "./FormCard.module.less";

export default defineComponent({
  props: {
    title: {
      type: String,
    }
  },
  setup(props, { slots }) {
    return () => (
      <div class={styles.formCard}>
        <a-card title={<div class={styles.title}>{props.title}</div>} >
          {
            slots?.default?.()
          }
        </a-card>
      </div>
    )
  }
})